Configuring Tomcat
Once the Tomcat is extracted, we need to customize to our requirements so that our application will run on Tomcat. This includes adding the required third party jars, properties file, configuring data sources, and so on.
The catalina.properties file in the conf folder needs to be modified so as to make the Tomcat container to pick custom configuration or jars defined by user.
Application shared/lib folders
shared.loader= ${catalina.home}/shared/conf,${catalina.home}/shared/cr_lib/*.jar
|
Continuing the same file we need to mention the coherence jar not to be scanned using Jar Scanner functionality. To achieve this in the same catalina.properties file, find the tomcat.util.scan.StandardJarScanFilter.jarsToSkip=\
Note: For DB2 latest Jar issues that comes with software, we need to mention the pdq.jar not be scaaned using Jar Scanner funcationality.
tomcat.util.scan.StandardJarScanFilter.jarsToSkip=\ -- -- -- pdq*.jar,\ -- |
Note: The above configurations will be same for any instance of Tomcat.